# -*- encoding:utf-8 -*-
# @Time : 2025/3/16 10:51
# @Author : xunter
# @Email : 3133739348@qq.com
# @File : urls.py
# @Software : PyCharm
from rest_framework import routers

from community.views import LabelViewSet, ArticleViewSet, CommentViewSet

urlpatterns = []
router = routers.DefaultRouter()
router.register('labels',LabelViewSet)
router.register('articles',ArticleViewSet)
router.register('comments',CommentViewSet)
urlpatterns += router.urls